﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrainingReminderSystem.Model
{
    public class SysPrintTemplate
    {
        /// <summary>
        /// ID
        /// </summary>
        [Key]
        public int PrintTemplateID { get; set; }
        /// <summary>
        /// 模板名称
        /// </summary>
        public string PrintTemplateName { get; set; }

        /// <summary>
        /// 纸张尺寸：宽
        /// </summary>
        public string PaperWidth { get; set; }
        /// <summary>
        /// 纸张尺寸：高
        /// </summary>
        public string PaperHeight { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsDefault { get; set; }
        /// <summary>
        /// 模板内容
        /// </summary>
        public string PrintTemplateContent { get; set; }
        /// <summary>
        /// 打印机
        /// </summary>
        public string Printer { get; set; }
        
        /// <summary>
        /// 操作人
        /// </summary>
        public int SysEmployeeID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 状态：-1 作废 0 禁用 1 启用
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 是否只读
        /// </summary>
        public bool ReadOnly { get; set; }

        public EnumPrintType PrintType { get; set; }
    }
}
